package com.qinghe.plant;

import java.util.Timer;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import com.qinghe.plant.timertask.DeleteDataTask;
import com.qinghe.plant.timertask.RequestDataTask;
@SpringBootApplication
public class MainEntry {
    private static long deleteRate=5000;
    private static long requestRate=10000;
    
	public static void main(String[] args) {		
		SpringApplication.run(MainEntry.class, args);	
		/*
		 * Timer timer=new Timer(); timer.schedule(new DeleteDataTask() ,
		 * 500,deleteRate); timer.schedule(new RequestDataTask(),1000,requestRate);
		 */
	}

}
